package com.dayuanit.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dayuanit.domain.Car;

public interface CarDao {
	
	int add(Car car);
	
	Car getCarByGoodId(@Param("goodId")Integer goodId, @Param("userId")Integer userId);

	List<Car> listCar(@Param("userId")Integer userId);
}
